package ipad.asia.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import lombok.Data;
import java.time.LocalDateTime;
import lombok.experimental.Accessors;

/**
 * @Description  
 * @Author  冯东旺
 * @Date 2021-03-13 23:07:51 
 */

@Entity
@Data
@Accessors(chain = true)
@Table ( name ="bbs")
public class Bbs {


	@Id
   @Column(name = "id" )
	private int id;

   @Column(name = "consumer_id" )
	private int consumerId;

   @Column(name = "shop_id" )
	private Integer shopId;

   @Column(name = "product_id" )
	private Integer productId;

   @Column(name = "content" )
	private String content;

   @Column(name = "date" )
	private LocalDateTime date;

}
